package com.taobao.txc.common.config;

import com.taobao.txc.common.b.b;
import java.util.StringTokenizer;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;

class d
  implements Callable<ConcurrentHashMap<String, String>>
{
  d(c paramc, String paramString) {}
  
  public ConcurrentHashMap<String, String> a()
  {
    String str1 = i.b().a(this.a, "TXC_GROUP", 6000L);
    ConcurrentHashMap localConcurrentHashMap = new ConcurrentHashMap();
    if (str1 == null) {
      return localConcurrentHashMap;
    }
    StringTokenizer localStringTokenizer = new StringTokenizer(str1, "\r\n");
    while (localStringTokenizer.hasMoreElements())
    {
      String str2 = localStringTokenizer.nextToken();
      if ((str2 != null) && (str2.trim().length() != 0))
      {
        int i = str2.indexOf('=');
        if (i <= 0) {
          throw new com.taobao.txc.common.b.c("invalid txc rules", b.j);
        }
        localConcurrentHashMap.put(str2.substring(0, i), str2.substring(i + 1));
      }
    }
    return localConcurrentHashMap;
  }
}


/* Location:           C:\Users\ibm\Downloads\txc-yun-sample (1)\txc-yun-sample\lib\txc-client-2.0.72.jar
 * Qualified Name:     com.taobao.txc.common.config.d
 * JD-Core Version:    0.7.0.1
 */